﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.Sql;
using System.Data.SqlClient;
using NetWing.Common.Data.SqlServer;

namespace NetWing.BPM.Admin.mjrooms
{

    public partial class roompay : System.Web.UI.Page
    {
        public string roomid = "";
        public string userids = "";
        public string orderid = "";
        public DataTable dt = null;
        protected void Page_Load(object sender, EventArgs e)
        {
            roomid = Request["roomid"];
            userids = Request["userids"];
            orderid = Request["orderid"];
            if (!string.IsNullOrEmpty(roomid) && !string.IsNullOrEmpty(userids) && !string.IsNullOrEmpty(orderid))
            {
                string sql = "select * from MJOrderDetail where MJOrderid=" + orderid + " and usersid=" + userids + " and roomid=" + roomid + "";
                dt = SqlEasy.ExecuteDataTable(sql);

            }

        }
    }
}